import Vue from "vue";
import Router from "vue-router";
import Home from "./views/Home.vue";
import About from "./views/About.vue";
import goods from "./components/goods";

Vue.use(Router);

export default new Router({
  mode: "history",
  routes: [
    {
      path: "/",
      name: "goods",
      component: goods
    },
    {
      path: "/good",
      name: "about",
      component: About
    }
  ],
  linkActiveClass: "active"
});
